<?php
/* @var $this SpecialiteController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Specialites',
);

$this->menu=array(
	array('label'=>'<span class="icon-plus"></span> Créer une spécialité', 'url'=>array('create')),
);
?>


<legend><h3><img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/chart_pie_title.png"> Liste des Spécialités </h3></legend>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'id'=>'specialite-grid',
        'type'=>'striped',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'libelle',
		array(
			'class'=>'CButtonColumn',
			'template' => '{update}',
			'buttons' => array(
				'update' => array('visible' => 'isset(Yii::app()->user->canEdit) && Yii::app()->user->canEdit')
			)
		),
	),
)); ?>
